package com.cmc.cloud.cmclink.doc.api.document.req.so.sovo.sovo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 订舱 内容拒绝 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 内容拒绝 Request VO")
@Data
@EqualsAndHashCode()
@ToString(callSuper = true)
public class SoContentRejectReqVO  {

    @Schema(description = "so的Id数组", requiredMode = Schema.RequiredMode.REQUIRED, example = "[1,2]")
    private List<Long> soIdList;
    @Schema(description = "理由类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotBlank(message = "{socontentreject.reasontype.notblank}")
    @Length(max = 50, message = "{socontentreject.reasontype.notblank}")
    private String reasonType;

    @Schema(description = "拒绝理由中文描述", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "{socontentreject.desccn.notblank}")
    @Length(max = 200, message = "{socontentreject.desccn.length}")
    private String descCn;




}
